home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / gnulib / fchart / fchart.doc < prev    next >
Encoding:
Text File  |  1994-06-05  |  24.0 KB  |  722 lines

  1. 1 fchart
  2. ?
  3.  FCHART is a simple command-driven utility to make bar and pie-charts.
  4.  It should be treated as a previewer before using SAS(R). The program
  5.  is based on the gnuplot v1.2 and 2.0.
  6.  
  7.  If you are a beginner, first read gnuplot documentation. Other useful
  8.  hints can be found under the following topics:
  9.  
  10.  `gnuplot` - short comparision of fchart and gnuplot
  11.  
  12.  `environment` - about environment variables
  13.  
  14.  `general` - general description of available commands
  15.  
  16.  `notation` - notation used in this manual
  17. 2 notation
  18. ?notation
  19.  NOTATION USED IN THIS MANUAL:
  20. @start table
  21.  page     - full-size page of paper or entire screen
  22.  picture  - painted part of page, usually smaller
  23.  /        - delimiter for synonyms of something
  24.  ==       - as above, for whole expression
  25.  { ... }  - optional argument
  26.  |, *, +  - see regexp
  27.  (!)      - something important not to be missed
  28.  <pos>    - positive integer number (real will be truncated)
  29.  <int>    - integer number (real will be truncated)
  30.  <val>    - real number (value)
  31.  <frac>   - fraction of some value (dep. on context):
  32.             < 0  - error
  33.             <0,1> - decimal fraction of value
  34.             > 1  - per cent (%) of value
  35.             thus 0.5 == 50, 70 == 70%, 1 == 100 (!),
  36.             for values smaller than 1% use fraction (rare case),
  37.             for values greater than 1 use %'s (200 == 2 times as ...)
  38.  <range>  - range for several purposes. Two numbers in brackets with
  39.             ":" as delimiter, eg [1:3], in relation first <= second.
  40.             Syntax: '[' { <pos> } ':' { <pos> } ']'. First number
  41.             if omitted is treated as zero (0), second omitted means
  42.             "to infinity". Both numbers belong to the given range.
  43.             (!) Omission works different than in Gnuplot.
  44. #Notion & \  & Explanation \\ \hline
  45. #page & - &full-size page of paper or entire screen \\
  46. #picture & - & painted part of page, usually smaller \\
  47. #/ & - & delimiter for synonyms of something \\
  48. #== & - & as above, for whole expression \\
  49. #\verb={ ... }= & - & optional argument \\
  50. #\verb=|, *, += & - & see regexp \\
  51. #(!) & - & something important not to be missed \\
  52. #$<$pos$>$ & - & positive integer number (real will be truncated) \\
  53. #$<$int$>$ & - & integer number (real will be truncated) \\
  54. #$<$val$>$ & - & real number (value) \\
  55. #$<$frac$>$ & - & fraction of some value (dep. on context): \\
  56. #\ & \ & $<$ 0  - error \\
  57. #\ & \ & $<$0,1$>$ - decimal fraction of value \\
  58. #\ & \ & $>$ 1  - per cent (\%) of value \\
  59. #\ & \ & thus 0.5 == 50, 70 == 70\%, 1 == 100 (!), \\
  60. #\ & \ & for values smaller than 1\% use fraction (rare case), \\
  61. #\ & \ & for values greater than 1 use \%'s (200 == 2 times as ...) \\
  62. #$<$range$>$ & - & range for several purposes. Two numbers in brackets with \\
  63. #\ & \ & `:' as delimiter, eg \verb=[1:3]=, in relation first $<=$ second. \\
  64. #\ & \ & Syntax: \verb='[' { <pos> } ':' { <pos> } ']'=. First number \\
  65. #\ & \ & if omitted is treated as zero (0), second omitted means \\
  66. #\ & \ & 'to infinity'. Both numbers belong to the given range. \\
  67. #\ & \ & (!) Omission works different than in Gnuplot. \\
  68. %Notion@ @Explanation
  69. %_
  70. %page@-@full-size page of paper or entire screen
  71. %picture@-@painted part of page, usually smaller
  72. %/@-@delimiter for synonyms of something
  73. %==@-@as above, for whole expression
  74. %{ ... }@-@optional argument
  75. %|, *, +@-@see regexp
  76. %(!)@-@something important not to be missed
  77. %<pos>@-@positive integer number (real will be truncated)
  78. %<int>@-@integer number (real will be truncated)
  79. %<val>@-@real number (value)
  80. %<frac>@-@fraction of some value (dep. on context):
  81. % @ @< 0  - error
  82. % @ @<0,1> - decimal fraction of value
  83. % @ @> 1  - per cent (%) of value
  84. % @ @thus 0.5 == 50, 70 == 70%, 1 == 100 (!),
  85. % @ @for values smaller than 1% use fraction (rare case),
  86. % @ @for values greater than 1 use %'s (200 == 2 times as ...)
  87. %<range>@-@range for several purposes. Two numbers in brackets with
  88. % @ @`:' as delimiter, eg [1:3], in relation first <= second.
  89. % @ @Syntax: '[' { <pos> } ':' { <pos> } ']'. First number
  90. % @ @if omitted is treated as zero (0), second omitted means
  91. % @ @'to infinity'. Both numbers belong to the given range.
  92. % @ @(!) Omission works different than in Gnuplot.
  93.  
  94. @end table
  95. 2 fchart vs. gnuplot
  96. ?gnuplot
  97.  Fchart uses the same language as gnuplot, though sometimes the
  98.  meaning of a command/expression can be quite different (!). Fchart
  99.  is data-oriented, thus has no built-in functions and does not perform
  100.  any calculations. For gnuplot compatibility, complex numbers (in
  101.  braces '{}') are accepted, but only their real part is used. Comments
  102.  (#), semicolons(;) and line continuation with backslash (\) work in
  103.  exactly the same way.
  104.  
  105.  Fchart uses GNUTERM environment variable. Fchart accepts only one
  106.  command-line parameter (unlike Gnuplot (!))  -- type of terminal to
  107.  run on. This has proven to be a good idea.
  108. 2 environment
  109. ?environment
  110.  Fchart uses the same variables as gnuplot, except for FCHARTHELP,
  111.  which can be defined as a path to the help file. On VMS, FCHART$HELP
  112.  should be used instead. 
  113.  In additon, HOME directory is searched on startup for initial file
  114.  called ".fchart" (or equivalent, see "start-up").
  115. 2 commands in general
  116. ?general
  117. ?terminal
  118. ?output
  119. ?size
  120. ?title
  121. ?zero
  122. ?clear
  123. ?exit
  124. ?quit
  125. ?help
  126. ?load
  127. ?pause
  128. ?replot
  129. ?redraw
  130. ?shell
  131. ?!
  132. ?test 
  133. ?read
  134. ?set terminal
  135. ?set output
  136. ?set size
  137. ?set title
  138. ?set zero
  139.  Several commands are directly taken from Gnuplot:
  140.         clear
  141.         exit/quit
  142.         help/?
  143.         load
  144.         pause
  145.         replot
  146.         shell
  147.         !
  148.         test
  149.  These commands are NOT described in this help.
  150.  
  151.  In addition, there are two synonyms:
  152.         load/read
  153.         replot/redraw
  154.  
  155.  Some other `set`-`show` parameters also have the same meaning:
  156.         set terminal
  157.         set output
  158.         set size
  159.         set title
  160.         set zero
  161.  and thus are NOT described here.
  162. 2 save
  163. ?save
  164.  Syntax:
  165.         save "filename" {{,} "string"}*
  166.  Saves all current settings in the given file. This file can be used
  167.  later with `load`/`read` command. Additional (optional) parameters
  168.  are saved in the file as leading comments, one string per line.
  169. ?set pie
  170.  
  171. ?set bar
  172.  
  173. 2 set-show
  174. ?set
  175. ?show
  176.  The `set` command sets LOTS of options. Type:
  177.         set
  178.  to get names of all possible parameters. The `show` commands shows 
  179.  their settings.  `show all` shows all the settings.
  180.  
  181.  In addition, `show` groups some related parameters; type:
  182.  
  183.         show general
  184.  to see parameters used for any pictures
  185.  
  186.         show bar
  187.  to see parameters affecting bar charts
  188.  
  189.         show pie
  190.  to see parameters affecting pie charts
  191.  
  192.         show version
  193.  to see the version of program you are working in.
  194.  
  195.  To get information about a parameter, type
  196.         help <parameter name>
  197. 2 general parameters
  198. 3 parameters for input
  199. 4 range
  200. ?set range
  201. ?show range
  202. ?range
  203.  Syntax:
  204.         show range
  205.         set range { <range> }
  206.  (initial and default: `[ : ]`)
  207.  
  208.  Focuses input on a part of data file, within given range (incl.
  209.  boundaries). Skips comments, and only proper values are counted. 
  210.  Lines are numbered starting from 0.
  211. 4 input (and input format)
  212. ?set input
  213. ?show input
  214. ?input
  215.  Syntax:
  216.         show input
  217.         set input { gnuplot | private | customized }
  218.  (initial and default: `private`)
  219.  
  220.  Sets global type of input files (this can be overriden for
  221.  individual files, and all types can be freely mixed).
  222.  
  223.  Format of input files:
  224.  
  225.         gnuplot
  226.  Accepts generic gnuplot files. Comments are skipped. Empty line
  227.  produces "missing value". Only one number present is used as a value.
  228.  If two are present, the second is treated as a value, and the first is
  229.  taken as a label (for bar or slice). This produces stupidity for some
  230.  data, but works well for other, date-oriented, like "Gnu population in
  231.  Antarctica since 1965".
  232.  
  233.         private
  234.  Reverse of gnuplot format: value, blank, label (optional). 
  235.  
  236.         customized
  237.  Accepts any fixed-field-length (e.g. SAS) files. No comments. Empty 
  238.  line produces error, and the standard form of missing value (spaces 
  239.  and dot) is supported. To describe required format use `set customized`
  240.  command.
  241. 4 customized
  242. ?set customized
  243. ?show customized
  244. ?customized
  245.  Syntax:
  246.         show customized
  247.         set customized { <range> { {,} <range> }}
  248.  (initial and default: undefined)
  249.  
  250.  Sets ranges for value and (optional) for label: where should they be
  251.  looked for in the line of data file? Ranges cannot overlap. Format is
  252.  quite flexible (see description of ranges), and the only error occurs
  253.  if the input line is shorter than that expected for given starting
  254.  place of value. Characters are numbered from 0.
  255. 3 parameters for picture
  256. 4 frame
  257. ?set frame
  258. ?show frame
  259. ?frame
  260.  Syntax:
  261.         show frame
  262.         set frame
  263.         set noframe
  264.  (initial: ON)
  265.  
  266.  Controls frame drawing. Frame is drawn around a page (!), not the
  267.  picture.
  268. 4 offsets
  269. ?set offsets
  270. ?show offsets
  271. ?offsets
  272.  Syntax:
  273.         show offsets
  274.         set offsets { <frac> {, <frac> {, <frac> {, <frac> }}}}
  275.  (initial and default: 0,0,0,0)
  276.  
  277.  Sets the size and position of the picture on the page (!). Fractions
  278.  are in terms of screen size and mean, respectively, left, right, top
  279.  and bottom. Of course, it is necessary that left+right and bottom+top
  280.  are less than 100%. E.g., to get the picture in the lower right corner
  281.  of page, specify `set off 50, 0, 50, 0` == `set off 0.5, 0, 0.5, 0`.
  282.  Offsets can be useful for piecharts with very long labels, since labels
  283.  (as well as the picture title) can exceed given boundary (unlike graph
  284.  itself).
  285. 4 logarithmic scale
  286. ?set logscale
  287. ?show logscale
  288. ?logscale
  289.  Syntax:
  290.         show logscale
  291.         set logscale
  292.         set nologscale
  293.  (initial: OFF)
  294.  
  295.  Obvious. For logscale, all data entries must be > 0, as well as the
  296.  base for bars.
  297. 4 highlighting
  298. ?set highlight
  299. ?show highlight
  300. ?highlight
  301.  Syntax:
  302.         show highlight
  303.         set highlight { none | minim | maxim | <pos> }
  304.  (initial and default: `none`)
  305.  
  306.  Sets global (!) highlighting, for all data. Highlighted element is
  307.  drawn in a different color for bars or explodes for piecharts. Given
  308.  number is just a number of element to be highlighted (in all the
  309.  files), and refers, counting from 0, to _the first value read-in_ (!),
  310.  not to the very first in the file . Can be also set individually for 
  311.  each file.
  312. 4 styles
  313. ?set style
  314. ?show style
  315. ?style
  316.  Syntax:
  317.         show style
  318.         set style piechart | adjacent_bars | stacked_bars | layered_bars
  319.  (initial: `adjacent_bars`)
  320.  
  321.  Sets the style of graph. Names are obvious, go and try.
  322. 4 arrows
  323. ?set arrow
  324. ?set noarrow
  325. ?show arrow
  326. ?arrow
  327.  Syntax:
  328.         show arrow { tag }
  329.         set arrow { tag } 
  330.             { from {page|picture} <val>,<val> }
  331.             { to {page|picture} <val>,<val> }
  332.  (defaults: <first unused tag>, `picture` 0,0, `picture` 0,0)
  333.         set noarrow { tag }
  334.  (default: all arrows)
  335.  
  336.  This command allows you to add pointing arrows to the graph.
  337.  The `tag` is an integer that is used to identify the arrow. 
  338.  If no tag is given, the lowest unused tag value is assigned
  339.  automatically. The tag can be used to delete or change a specific
  340.  arrow. To change any attribute of an existing arrow, use the `set
  341.  arrow` command with the appropriate tag, and specify the parts of the
  342.  arrow to be changed.
  343.  
  344.  All positions are denoted in any of two coordinate systems: either as
  345.  real numbers <0,1> on the ideal drawing area <0,1>x<0,1>, or as an
  346.  integers for virtual drawing board with resolution 100000x100000.
  347.  
  348.  Coordinates can refer to physical page or the picture being drawn.
  349.  Arrows in the picture coordinate system follow the changes of the
  350.  picture size and position (see `set offsets`), while those on the page
  351.  are constant. An arrow can of course be drawn `from page` `to picture`
  352.  and vice versa.
  353.  
  354.  See also `set line`.
  355. 4 lines
  356. ?set line
  357. ?set noline
  358. ?show line
  359. ?line
  360.  Syntax:
  361.         show line { tag }
  362.         set line { <same syntax as for arrows> }
  363.         set noline { tag }
  364.  (defaults: see `set arrow`)
  365.  
  366.  This command allows you to draw an arbitrary line. Lines are in
  367.  reality arrows without heads, and share with them the tag system.
  368.  
  369.  Also `show line` == `show arrow` and `set noline` == `set noarrow`.
  370.  
  371.  For more information, see `set arrow`.
  372.  
  373.  To change line to arrow, type:
  374.         set arrow <tag of existing line>
  375.  To change arrow to line, type:
  376.         set line <tag of existing arrow>
  377. 3 parameters for printed text
  378. 4 format
  379. ?set format
  380. ?show format
  381. ?format
  382.  Syntax:
  383.        show format
  384.        set format { "string" }
  385.  (initial and default: "%g")
  386.  
  387.  Sets format for all numerical values printed on picture (!).
  388.  Restrictions as in gnuplot. This is a very important parameter for
  389.  labeling -- if that doesn't work correctly, change format. Further
  390.  information can be found in the gnuplot manual.
  391. 4 font
  392. ?set font
  393. ?show font
  394. ?font
  395.  Syntax:
  396.         show font
  397.         set font { never | when_needed | rotated | always }
  398.  (initial: `when_needed`)
  399.  (default: `always`)
  400.  
  401.  Sets usage of built-in vector font:
  402. @start table
  403.    always, never - obvious
  404.    when_needed   - font is used when printed text:
  405.                    * should fit within the given boundary
  406.                    * is to be rotated, and terminal can't do that
  407.    rotated       - as `when_needed`, but _always_(!) for rotated text;
  408.                    useful for some terminals, like 'regis' and 'latex'
  409. #Value & \ & Meaning \\ \hline
  410. #\verb=always=, \verb=never= & - & obvious \\
  411. #\verb=when_needed= & - & font is used when printed text: \\
  412. #\ & \ & * should fit within the given boundary \\
  413. #\ & \ & * is to be rotated, and terminal can't do that \\
  414. #\verb=rotated= & - & as \verb=when_needed=, but \_always\_ (!) for rotated text; \\
  415. #\ & \ & useful for some terminals, like 'regis' and 'latex' \\
  416. %Value@ @Meaning
  417. %always, never@-@obvious
  418. %when_needed@-@font is used when printed text:
  419. % @ @* should fit within the given boundary
  420. % @ @* is to be rotated, and terminal can't do that
  421. %rotated@-@as 'when_needed', but _always_ (!) for rotated text;
  422. % @ @useful for some terminals, like 'regis' and 'latex'
  423.  
  424. @end table
  425. 4 truncate
  426. ?set truncate
  427. ?show truncate
  428. ?truncate
  429.  Syntax:
  430.         show truncate
  431.         set notruncate
  432.         set truncate { <pos> }
  433.  (initial: OFF)
  434.  (default: 0)
  435.  
  436.  Sets maximal length for labels from data files. Command `set truncate`
  437.  will simply ignore all the user labels (see also `set autolabeling`).
  438. 4 autolabeling
  439. ?set autolabeling
  440. ?show autolabeling
  441. ?autolabeling
  442.  Syntax:
  443.         show autolabeling
  444.         set autolabeling
  445.         set noautolabeling
  446.  (initial: OFF)
  447.  
  448.  Labels read from data files are striped, i.e. all leading and
  449.  trailing spaces are _always_ removed. If all labels are undefined, and
  450.  this parameter is ON, program will generate numbers starting with the
  451.  number of the first read element (i.e. left boundary from `set
  452.  range`). Rules for multiple elements (e.g. one stack or one column in
  453.  "layered style") are different:
  454.  
  455.  - all undefined : autogenerate (if ON)
  456.  
  457.  - all the same (with some undefined) : draw (one of) them
  458.  
  459.  - different : nothing is drawn
  460. 4 labels
  461. ?set label
  462. ?set nolabel
  463. ?show label
  464. ?label
  465.  Syntax:
  466.         show label { <tag> }
  467.         set nolabel { <tag> }
  468.  (default: all labels)
  469.         set label { <tag> } { "text" }
  470.             { left | centre | right }
  471.             { at {page|picture} <val>,<val> }
  472.             { height <val> }
  473.             { width <val> }
  474.             { horizontal | vertical |
  475.               direction left | right | up | down |
  476.               west | east | south | north |
  477.               rotation <val> }
  478.  (defaults: <first unused tag>, "", `left`, at `picture` 0,0,
  479.  height 0, width 0, `horizontal`)
  480.  
  481.  This command places a label on the graph. Here is a brief description
  482.  of the parameters:
  483.  
  484.  `<tag>` -- integer to identify a label. See also `set arrow`.
  485.  
  486.  "text" -- text of the label. Defaults to empty: "".
  487.  
  488.  The third parameter sets desired justification of the label around
  489.  its position. This parameter can be put also _after_ `at` phrase.
  490.  
  491.  `at` phrase gives the position for the label. For the exact meaning
  492.  of its subparts, see `set arrow`.
  493.  
  494.  `height` and `width` specify desired height and width of text.
  495.  Unfortunately, text cannot be stretched, so only one of them should be
  496.  given. If both are set, text will be no higher than `height` and no
  497.  wider than `width`, but nothing more is certain.
  498.  Values of `height` and `width` refer to the page or picture, in
  499.  accordance with the `at` phrase. Exact meaning of values for both is
  500.  the same as for positions (see `set arrow`).
  501.  Note: both values refer to the resulting size of character bounding
  502.  box, not character itself (boundig box is 30% higher and 20% wider).
  503.  
  504.  The last parameter specifies desired direction the text should be
  505.  drawn in. The names are obvious, and `rotation` is an arbitrary angle
  506.  in radians (positive angle counts counterclockwise).
  507.  
  508.  Rules for using fonts with labels:
  509. @start table
  510.        ----------------------------------------------
  511.        | height & width & direction   ==> font      |
  512.        ----------------------------------------------
  513.        |    both  0     | horizontal,  | follows    |
  514.        |                | east, right, | common     |
  515.        |                | vertical,    | rules by   |
  516.        |                | up, north    | `set font` |
  517.        ----------------------------------------------
  518.        |      any       | other than   | built-in   |
  519.        |                | above        | vector f.  |
  520.        ----------------------------------------------
  521.        | given one of   |     any      | built-in   |
  522.        | them or both   |              | vector f.  |
  523.        ----------------------------------------------
  524. # height \& width & direction & resulting font \\ \hline
  525. # both 0 & horizontal, east, right, & follows common rules \\
  526. # \      & vertical, up, north & given by \verb=set font= \\ \hline
  527. # any    & other than above & built-in vector font \\ \hline
  528. # given any of them & any & built-in vector font \\
  529. %height & width @ direction @ resulting font
  530. %_
  531. %both 0 @ horizontal, east, right, @ follows common rules
  532. %       @ vertical, up, north @ given by "set font"
  533. %_
  534. %any    @ other than above @ built-in vector font
  535. %_
  536. % given any of them @ any @ built-in vector font
  537. @end table
  538. 2 settings for bars
  539. 3 autoscale
  540. ?set bar autoscale
  541. ?show autoscale
  542. ?autoscale
  543.  Syntax:
  544.         show autoscale
  545.         set bar autoscale
  546.         set bar noautoscale
  547.  (initial: ON)
  548.  
  549.  Controls rounding and drawing of axes for bars. Check it. Axes are
  550.  drawn on the left side of bars, looking from base. There's no way to
  551.  change ticking and naming the axis. Ticking algorithm is not very
  552.  clever, although it will never overlap ticking labels.
  553. 3 base
  554. ?set bar base
  555. ?show base
  556. ?base
  557.  Syntax:
  558.         show base
  559.         set bar base { <val> }
  560.  (initial and default: 0)
  561.  
  562.  Sets base for bars. Should be 0 for stacked ones and at least 1 for
  563.  logscale ON. Sometimes useful, though eats a lot of code.
  564. 3 clockwise
  565. ?set bar clockwise
  566. ?show clockwise
  567. ?clockwise
  568.  Syntax:
  569.         show clockwise
  570.         set bar clockwise
  571.         set bar counter_clockwise
  572.  (initial: `clockwise`)
  573.  
  574.  Direction for drawing bars. "Clockwise" means left to right looking
  575.  from base. Useful for strange gravitation.
  576.  Parameter for pies -- painfully obvious.
  577. 3 gravitation
  578. ?set bar gravitation
  579. ?show gravitation
  580. ?gravitation
  581.  Syntax:
  582.         show gravitation
  583.         set bar gravitation { left | top | right | bottom }
  584.         set bar gravitation { west | north | east | south }
  585.  (initial and default: `bottom`/`south`)
  586.  
  587.  Sets gravitation for bars, i.e. on what side base should be drawn.
  588.  That is different from just turning page to the left or right.
  589. 3 width
  590. ?set bar width
  591. ?show width
  592. ?width
  593.  Syntax:
  594.         show width
  595.         set bar width { <frac> {, <frac> {, <frac> }}}
  596.  (initial and default: 0.2, 0.2, 0.5)
  597.  
  598.  Sets bar parameters: maximal allowable width (as a fraction of
  599.  picture size), space between bars and space between groups of bars
  600.  (last two as a fraction of bar width chosen by program), respectively.
  601.  If counted bar width is bigger than allowable, this value is taken and
  602.  a smaller graph is centered within picture. There is no way to set the
  603.  standard bar width, determined by picture size and number of bars.
  604. 2 settings for pies
  605. 3 clockwise
  606. ?set pie clockwise
  607. ?show clockwise
  608.  Syntax:
  609.         show clockwise
  610.         set pie clockwise
  611.         set pie counter_clockwise
  612.  (initial: `clockwise`)
  613.  
  614.  Obvious.
  615. 3 explode
  616. ?set pie explode
  617. ?set explode
  618. ?explode
  619.  Syntax:
  620.         show explode
  621.         set pie explode { <params as for bar gravitation> }
  622.  (initial and default: random)
  623.  
  624.  Sets direction of exploding slice (if highlighting != none).
  625.  Obvious. "Random" means that pie is drawn from top, and a slice will
  626.  explode "outside", just where it should and can.
  627. 3 radius
  628. ?set pie radius
  629. ?show radius
  630. ?radius
  631.  Syntax:
  632.         show radius
  633.         set pie radius { <frac> }
  634.  (initial and default: 0.3)
  635.  
  636.  Sets exploding distance (!) for hightlited slice -- as a fraction
  637.  of the pie radius. Radius depends on the picture size and exploding
  638.  distance, and there is no way to change it.
  639. 3 sample
  640. ?set pie sample
  641. ?show sample
  642. ?sample
  643.  Syntax:
  644.         show sample
  645.         set pie sample <pos>
  646.  (initial: 160)
  647.  
  648.  Number of samples for drawing arcs. Depends on screen resolution.
  649. 3 threshold
  650. ?set pie threshold
  651. ?show threshold
  652. ?threshold
  653.  Syntax:
  654.         show threshold
  655.         set pie threshold { <frac> { "name" }}
  656.  (initial and default: 0, "other")
  657.  
  658.  Threshold for combining slices that are too small into one. Expressed
  659.  as a fraction of whole pie (i.e. 360 deg or 2Pi rad). Must be < 100.
  660.  If highlighting is != none, sices are not combined (!). Combined slice
  661.  is labeled with the given "name".
  662. 2 getting picture -- plot command
  663. ?plot
  664. ?draw
  665. ?tplot
  666. ?tdraw
  667.  There are 6 commands to do that, but in two ways only:
  668.         plot/draw
  669.         tplot/tdraw/trans_plot/trans_draw
  670.  
  671.  They differ in treating incoming values:
  672.  
  673.  * In `plot`, data from one file create one unit (pie, layer, stack or
  674.  group, depending on style).
  675.  
  676.  * In `tplot`, one unit is created from many files, thus first value
  677.  from all the files forms one unit, second value next one, and so on.
  678.  It is just like trasposition of data matrix, and hence the name.
  679.  
  680.  Of course, files need not be the same length, since units can be of
  681.  different size. Files can be of different input style, also.
  682.  
  683.  Full syntax:
  684.         plot/tplot
  685.             { <range> }
  686.             { (style) } "filename" 
  687.                 { as "name" }
  688.                 { highlighting <type of highlighting> } 
  689.             { , <same syntax as above> }*
  690.  
  691.  where :
  692.  `range` overrides `set range` (permanently (!)),
  693.  `style` is the name of style in parenthesis (which means that though
  694.  styles can be freely mixed, only one customized style can be used at
  695.  once -- this limitation probably should be changed), e.g. "(gnu)",
  696.  `as` phrase gives the label to be used instead of filename, and
  697.  `highlighting` sets _local_ highlighting (bogus for `tplot`).
  698.  
  699.  Note: to turn off highlighting, `none` must be specified explicitly.
  700. 2 start-up
  701. ?startup
  702. ?start
  703. ?.fchart
  704. ?fchart.ini
  705.  When fchart is run, it looks for an initialization file to load. 
  706.  This file is called `.fchart` on Unix , and `FCHART.INI` on other
  707.  systems.  If this file is not found in the current directory, the
  708.  program will look for it in your home directory (under MS-DOS, the
  709.  environment variable `FCHART` should contain the name of this
  710.  directory).
  711.  
  712.  If this file is found, fchart executes the commands in this file.
  713.  This is most useful for setting your terminal type and other
  714.  parameters.
  715.  
  716.  By default, output is sent to "stdout", and thus can be redirected.
  717.  All messages go to "stderr".
  718. 2 bugs
  719. ?bugs
  720.  Lots of, probably. The most important is wrong bar centering.
  721.  
  722.